package com.xiaoyu.awakening.common.core.exception.status;

/**
 * 响应码
 *
 * @author wangxiaoyu
 * @since v1.0
 */
public interface IReturnCode {
    /**
     * 返回前端信息
     *
     * @author wangxiaoyu
     */
    String getMessage();

    /**
     * 获取错误码
     *
     * @author wangxiaoyu
     */
    String getCode();

    String COMMON_PREFIX = "C";
    String BUSINESS_PREFIX = "B";
}
